﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SharpSoft
{
    /// <summary>
    /// 为属性或字段提供反射处理时值的格式化字符串
    /// </summary>
    [System.AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
    public sealed class StringFormatAttribute : Attribute
    {
        public StringFormatAttribute(string formatString)
        {
            this.FormatString = formatString;

        }
        public string FormatString { get; private set; }
    }
}
